package com.mybed.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mybed.crm.pojo.dto.PageTransferDto;
import com.mybed.crm.pojo.pojo.User;
import com.mybed.crm.pojo.pojo.UserDownLoad;
import com.mybed.crm.pojo.vo.TransferVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.sql.Wrapper;
import java.time.LocalDate;
import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    IPage<TransferVo> PageTransfer(IPage<TransferVo> page, Wrapper wrapper, @Param("dto") PageTransferDto dto,@Param("str") String beginTime, @Param("end") String endTime);


    /**
     * 用户管理的导出
     * @return
     */
    List<UserDownLoad> selectUserDownload();

}
